﻿using MyCode.Project.Services;
using Quartz;

namespace MyCode.Project.ScheduleTask.Jobs
{
    public class EveryOtherJob : IJob
    {

		private readonly IWorkProcessService _workProcessService;

		public EveryOtherJob(IWorkProcessService workProcessService)
		{
			_workProcessService = workProcessService;
		}


		public void Execute(IJobExecutionContext context)
        {
            _workProcessService.ExecuteOther();
        }
    }
}

